home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 June / EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso / earcd / comm1 / intsdkss.lha / include / sys / dir.h < prev    next >
C/C++ Source or Header  |  1996-04-09  |  428b  |  24 lines

  1. /*
  2. ** Low powered unix compatible directory routines.
  3. */
  4.  
  5. #ifndef SYS_DIR_H
  6. #define SYS_DIR_H
  7.  
  8. struct direct {
  9.     char    *d_name;    /* name of object    */
  10.     short    d_namelen;    /* length of obj name    */
  11.     short    dd_fd;        /* unused, actually    */
  12.     long    d_ino;        /* FileKey of object    */
  13. };
  14.  
  15. typedef struct direct DIR;
  16.  
  17. #define dirent direct
  18.  
  19. DIR *opendir (char *);
  20. struct direct *readdir (DIR *);
  21. int rewinddir (DIR *);
  22. int closedir (DIR *);
  23. #endif
  24.